<#if listExtendableResourceActions?? && listExtendableResourceActions?has_content>
<span class="pull-right" >
	<div class="btn-group">
		<a class="btn btn-small btn-primary dropdown-toggle" data-toggle="dropdown" href="#">
			<i class="icon-forward icon-white">&nbsp;</i><span class="hidden-phone">&nbsp;#i18n{portal.admin.resource.extend}</span>
			<span class="caret"></span>
		</a>
		<ul class="nav dropdown-menu pull-right" >
			<#list listExtendableResourceActions as resourceTypeAction>
				<#if resourceTypeAction.buttonTemplate?has_content>
					<form class="form-submenu" method="post" action="jsp/admin/resource/DoProcessExtendableResourceAction.jsp">
						<li class="dropdown-submenu">
							<#include resourceTypeAction.buttonTemplate />
						</li>
					</form>
				</#if>
			</#list>
		</ul>
	</div>
</span>
<script type="text/javascript">
	$('.dropdown input').bind('click', function (e) {
		  e.stopPropagation()
		})
	$('.dropdown select').bind('click', function (e) {
		  e.stopPropagation()
		})
</script>
</#if>
